package com.talent.pojo.dto;

import lombok.Data;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;

/**
 * 分类DTO
 */
@Data
public class CategoryDTO {
    
    @NotBlank(message = "分类名称不能为空")
    private String name;
    
    @NotBlank(message = "分类类型不能为空")
    private String type;
    
    private String icon;
    private String iconType;
    private String homeImage;
    

    private String description;
}
